AltToASCII$ FUNCTION Action Decodes the extended key codes associated with the Alt key, and returns only the individual ASCII character. Syntax variablename$ = AltToASCII$ (kbd$) Remarks The AltToASCII$ procedure uses the following arguments. variablename$ ------------- Any BASIC variable name, including the name of a record variable or record element. kbd$ ---- A string that contains a character entered at the keyboard. AltToASCII$ is used in the procedures in MENU.BAS to identify access keys that have been pressed for menu-item selection (Alt + 0 - 9, A - Z, - and =). For instance, pressing the Alt key with the "A" key places two scan-code values into the keyboard buffer, CHR$(0)+CHR$(30). AltToASCII$ strips off CHR$(0) and returns "A," which is the letter represented by scan code 30. The keyboard can be polled with either the BASIC INKEY$ procedure or the MenuInkey$ procedure (preferred) included in the MENU.BAS file in the User Interface toolbox. See Also. MenuDo